﻿using SqlSugar;

namespace ZeroAdmin.Application.Entity;

/// <summary>
/// 系统配置表
/// </summary>
[SugarTable("sysconfig")]
public class SysConfig : DBEntityBase
{
    /// <summary>
    /// 名称
    /// </summary>
    [SugarColumn(ColumnDataType = "varchar(255)", IsNullable = false)]
    public string SysConfigName { get; set; } = "";

    /// <summary>
    /// 编码
    /// </summary>
    [SugarColumn(ColumnDataType = "varchar(255)", IsNullable = false)]
    public string Code { get; set; } = "";

    /// <summary>
    /// 属性值
    /// </summary>
    [SugarColumn(ColumnDataType = "varchar(255)", IsNullable = false)]
    public string Value { get; set; } = "";

    /// <summary>
    /// 备注
    /// </summary>
    [SugarColumn(ColumnDataType = "varchar(255)", IsNullable = true)]
    public string Remark { get; set; } = "";
}
